package com.kdgz.kdgz.sevice;

import com.kdgz.kdgz.beans.Rule;

/**
 * @Author Veneno
 * @Desc
 * @date 2021/3/29
 */
public interface RuleService {

    /**
     * 查询一个规则对象
     * @return com.kdgz.kdgz.beans.Rule
     */
    public Rule selectRule();

    /**
     * 更新一个规则对象
     * @param rule 更新后的规则对象
     * @return java.lang.Integer
     */
    public Integer updateRule(Rule rule);
}
